package com.express.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import java.util.Date;

@Table(name = "sys_token")
public class Token {
  //@Column(name = "user_id",type = MySqlTypeConstant.INT,length = 11,comment = "用户ID")
  private Integer userId;
  //@Column(name = "role_id",type = MySqlTypeConstant.VARCHAR,length = 20,comment = "角色ID")
  private String roleId;
  //@Column(name = "user_name",type = MySqlTypeConstant.VARCHAR,length = 20,comment = "用户名称")
  private String userName;
  //@Column(name = "meal_type",type = MySqlTypeConstant.VARCHAR,length =10 ,comment = "类型")
  private String mealType;
  //@Column(name = "agent_code",type = MySqlTypeConstant.INT,length = 20,comment = "验证code")
  private String agentCode;
  //@Column(name = "token",type = MySqlTypeConstant.VARCHAR,length = 50,comment = "token")
  private String token;
  //@Column(name = "create_time",type = MySqlTypeConstant.DATETIME,comment = "创建时间")
  private Date createTime;
  //@Column(name = "update_time",type = MySqlTypeConstant.DATETIME,comment = "更新时间")
  private Date updateTime;
  //@Column(name = "expire_time",type = MySqlTypeConstant.DATETIME,comment = "有效时间")
  private Date expireTime;

  public Integer getUserId() {
    return this.userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getToken() {
    return this.token;
  }

  public void setToken(String token) {
    this.token = token;
  }

  public Date getCreateTime() {
    return this.createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getRoleId() {
    return this.roleId;
  }

  public void setRoleId(String roleId) {
    this.roleId = roleId;
  }

  public String getUserName() {
    return this.userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public Date getUpdateTime() {
    return this.updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public Date getExpireTime() {
    return this.expireTime;
  }

  public void setExpireTime(Date expireTime) {
    this.expireTime = expireTime;
  }

  public String getMealType() {
    return this.mealType;
  }

  public void setMealType(String mealType) {
    this.mealType = mealType;
  }

  public String getAgentCode() {
    return this.agentCode;
  }

  public void setAgentCode(String agentCode) {
    this.agentCode = agentCode;
  }

}